package Chapter04;

public class zuoye5 {
    //5.求1-20之间的数的乘积(double)
    public static void main(String[] args) {
        double sum =1;
        for (int i=1;i<=20;i++){
            sum*=i;
            System.out.println(sum);
        }
    }
}
